package com.example.servicea.feign.fallback;

import com.example.servicea.feign.ServiceBFeignClient;
import org.springframework.stereotype.Component;

@Component
public class ServiceBFallBackFactory implements ServiceBFeignClient {

    @Override
    public String msg() {
        System.out.println("=======发生错误======");
        return "发生错误";
    }
}
